<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Collection extends Model
{
    protected $table = 'collection';
    public $timestamps = false;
    //
    public function users()
    {
        return $this->hasOne('App\Model\Users','id','uid');

    }

    public function product()
    {
        return $this->hasOne('App\Model\Product','id','pid');
    }
}
